﻿using System;

namespace DbManager.QueryBuilder.DbEntity.Viezd
{
    public abstract class AEntityViezd :IQuery
    {
        private int _id;
        private DateTime _dataSbora;
        private DateTime _vremiaSbora;
        private string _mestoSbora;
        private int _poriadokSbora;

        public string AdressClienta { set; get; }

        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }

        public DateTime DataSbora
        {
            get { return _dataSbora; }
            set { _dataSbora = value; }
        }

        public DateTime VremiaSbora
        {
            get { return _vremiaSbora; }
            set { _vremiaSbora = value; }
        }

        public string MestoSbora
        {
            get { return _mestoSbora; }
            set { _mestoSbora = value; }
        }

        public int PoriadokSbora
        {
            get { return _poriadokSbora; }
            set { _poriadokSbora = value; }
        }

        public abstract string GetSelectQuery();
        public abstract string GetInsertQuery();
        public abstract string GetUpdateQuery();
        public abstract string GetDeleteQuery();
    }
}
